cmake_minimum_required(VERSION 2.4)

SET(CMAKE_VERBOSE_MAKEFILE TRUE) 

ADD_DEFINITIONS(-Wall)





SET (TDValueSrc  	   neuronTDValue.cpp)  
SET (WTASrc  	   neuronWTA.cpp)  

INCLUDE_DIRECTORIES(
  /usr/include/iqr
)



ADD_LIBRARY(neuronTDValue  SHARED ${TDValueSrc})  	     
ADD_LIBRARY(neuronWTA  SHARED ${WTASrc})  

SET_TARGET_PROPERTIES(neuronTDValue PROPERTIES PREFIX "")  
SET_TARGET_PROPERTIES(neuronWTA PROPERTIES PREFIX "")  


INSTALL(TARGETS 
  neuronTDValue
  neuronWTA
  LIBRARY DESTINATION ~/iqr/lib/Neurons/ 
  ARCHIVE DESTINATION ~/iqr/lib/Neurons/
  RUNTIME DESTINATION bin 
  )
